#marcos
OBJECTS = $(SOURCES:.c=.o)
SOURCES = arrint.c main.c verific.c isort.c ssort.c
CFLAGS = -Wall -ansi -pedantic -g
CC = gcc
#reglas explicitas
ejec: $(OBJECTS)
	$(CC) $(CFLAGS) -o $@ $^

%o:%c
	$(CC) $(CFLAGS) -c $<

clean:
	rm *.o ejec *.c~ *.h~
